package com.BaoHua.demo.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.BaoHua.demo.webservice.qqonline.QqOnlineWebServiceSoap;

/**
 * QQ在线状态检测
* @ClassName: QqController  
* @author yanfa00027  
* @date 2018年10月17日  
*
 */
@RestController
public class QqController {
	
	@Autowired
	private QqOnlineWebServiceSoap qq;
	
	@RequestMapping("/qq/check/{qqCode}")
	public String qq_check_online(@PathVariable("qqCode")String qqCode) {
		return qq.qqCheckOnline(qqCode);
	}
}
